package com.jian.java.controller;

import com.jian.java.service.MessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.MessageChannel;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author Jiange
 * @create 2021-06-03-15:19
 */
@RestController
public class MyController {
    @Autowired
    private MessageProvider output;

    @GetMapping("/get")
    public void jian(){
        output.send();
    }
}
